{% extends "teacher/base.html" %}


{% block content_main %}
{#<div class="layui-row">#}
{#    <h1>班级: {{ classes.name }}</h1>#}
{#    <h1>老师: {{ classes.teacher.name }}</h1>#}
{#</div>#}
<div class="layui-row">
    <table class="layui-table" lay-filter="demo">
      <thead>
        <tr>
          <th>姓名</th>
          <th>短信电话</th>
          <th>父母电话</th>
          <th>年龄</th>
          <th>材料费</th>
          <th>账号</th>
          <th>密码</th>
        </tr>
      </thead>
      <tbody>
        {% for i in student_classes_rel %}
          <tr>
            <td>{{ i.student.name }}</td>
            <td>{{ i.student.phone }}</td>
            <td>{{ i.student.parent_phone }}</td>
            <td>{{ i.student.age }}</td>
            <td>{{ i.student.material_cost }}</td>
            <td>{{ i.student.user.username }}</td>
            <td>{{ i.student.user.password }}</td>
          </tr>
        {% endfor %}
      </tbody>
    </table>
</div>
{% endblock %}